﻿using System;

namespace eStock.DataObjects
{
    public class Address
    {
        public int Id { get; set; }
        public int ImgId { get; set; }
        public DBImage Image { get { return DatabaseObjects.Images != null ? DatabaseObjects.Images.GetById(ImgId) : null; } }
        public string Description { get; set; }
        public string Company { get; set; }
        public string Street { get; set; }
        public string PLZ { get; set; }
        public string Location { get; set; }
        public string Country { get; set; }
        public string Name { get; set; }
        public string Phone { get; set; }
        public string Mobile { get; set; }
        public string Fax { get; set; }
        public string Mail { get; set; }
        public string Web { get; set; }
        public string CustomerId { get; set; }
        public string Login { get; set; }
        public string UsSTID { get; set; }
        public DateTime Birthday { get; set; }
        public string Bank { get; set; }
        public string Blz { get; set; }
        public string Konto { get; set; }
        public string SWIFT { get; set; }
        public string IBAN { get; set; }
        public string Comments { get; set; }
    }
}
